set term png

set output "timetosolve-7shops.png"
set xlabel "Number of trucks"
set ylabel "Time(mins)"
set title "Time for exact solution - 7 shops"
set xtics 1
plot "vi.txt" using 1:6 w linespoints title "VI-ADD", "vic.txt" using 1:6 w linespoints title "VI-ADD(CONC)", \
	"cut200.txt" using 1:6 w linespoints title "C = 200",\
	"cut1e5.txt" using 1:6 w linespoints title "C = 1e5",\
	"cut8e5.txt" using 1:6 w linespoints title "C = 8e5"	, \
	"cut10e5.txt" using 1:6 w linespoints title "C = 10e5"	, \
	"maxd.txt" using 1:6 w linespoints title "V_H" 
	#"cut5e5.txt" using 1:6 w linespoints title "C = 5e5"	, \
	#"cutdot1e5.txt" using 1:6 w linespoints title "C = 10000", \
	#"spi10.txt" using 1:6 w linespoints title "MPI-ADD(10)", \
	#"spi5" using 1:6 w linespoints title "MPI-ADD(6)", \
	#"spi3" using 1:6 w linespoints title "MPI-ADD(3)", \
	#"viaadd.txt" using 1:6 w linespoints title "VI-AADD" ,\
	#"vicaadd.txt" using 1:6 w linespoints title "VI-AADD(CONC)"

# set output "sizeofV-7shops.png"
# set xlabel "Number of trucks"
# set ylabel "|V|(number of nodes)"
# set title "Size of value function - 7 shops"
# set xtics 1
# plot "vi.txt" using 1:7 w linespoints title "VI-ADD", "vic.txt" using 1:7 w linespoints title "VI-ADD(CONC)", \
# "cut200.txt" using 1:7 w linespoints title "C = 200",\
# "cutdot1e5.txt" using 1:7 w linespoints title "C = 10000", \
# "cut1e5.txt" using 1:7 w linespoints title "C = 1e5",\
# "cut5e5.txt" using 1:7 w linespoints title "C = 5e5"	, \
# "cut8e5.txt" using 1:6 w linespoints title "C = 8e5"	, \
# "cut10e5.txt" using 1:6 w linespoints title "C = 10e5"	, \
# "maxd.txt" using 1:7 w linespoints title "V_H" 

# set output "sizeofPi-7shops.png"
# set xlabel "Number of trucks"
# set ylabel "Size of policy"
# set title "Size of value function - 7 shops"
# set xtics 1
# plot "vi.txt" using 1:8 w linespoints title "VI-ADD", "vic.txt" using 1:8 w linespoints title "VI-ADD(CONC)", \
# "cut200.txt" using 1:8 w linespoints title "C = 200",\
# "cutdot1e5.txt" using 1:8 w linespoints title "C = 10000", \
# "cut1e5.txt" using 1:8 w linespoints title "C = 1e5",\
# "cut5e5.txt" using 1:8 w linespoints title "C = 5e5"	, \
# "maxd.txt" using 1:8 w linespoints title "V_H" 